<template>
  <u-button :disabled="props.disabled" :shape="props.shape" @click="emits('click')"
            style="height: 50rpx;padding: 10rpx 20rpx" :type="props.type" text="确定"
            :color="props.color">
    <slot></slot>
  </u-button>
</template>

<script lang="ts" setup>

const props = defineProps({
  type: {
    type: String,
    default: 'primary'
  },
  color: {
    type: String,
    default: ''
  },
  shape: {
    type: String,
    default: 'round'
  },
  disabled: {
    type: Boolean,
    default: false
  }
})

const emits = defineEmits(['click'])
</script>

<style scoped lang="scss">

</style>